package com.yy.permissions_general.module.system.user.mapper;

import com.yy.permissions_general.module.system.user.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户 Mapper 接口
 * </p>
 *
 * @author YY
 * @since 2021-10-10
 */
public interface UserMapper extends BaseMapper<User> {

    /**
    * 分页查询
    * @param pageContext
    * @param user
    * @return
    */
    Page<User> selectPage(@Param("page")Page pageContext, @Param("user")User user);

}

